# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-dockerpty
pkgver=0.4.1
pkgrel=7
pkgdesc="Python library to use the pseudo-tty of a docker container"
url="https://github.com/d11wtq/dockerpty"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-docker-py"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/d/dockerpty/dockerpty-$pkgver.tar.gz"
builddir="$srcdir/dockerpty-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
6afbc7ef5e352853b0d908ec047fe16e1fe513fae49ccc83142a77429f808b7e24201d47ebf83e21db4a05272308124516f9be5a57ed6c4e47e73837003562ea  dockerpty-0.4.1.tar.gz
"
